package com.tcxhb.job.core.utils;

/**
 * @Description:
 * @Auther: tcxhb
 * @Date: 2023/11/12
 */
public class TraceUtils {

    public static String buildTraceId(Long jobId, Long scheduleTime, Integer shardingNo) {
        StringBuilder builder = new StringBuilder();
        builder.append(jobId).append("-")
                .append(scheduleTime).append("-")
                .append(shardingNo);
        return builder.toString();
    }
}
